//=============================================================================
//
//   Copyright (C) 2020 All rights reserved.
//
//   Filename:		time_step.rs
//
//   Author: Wang Zhecheng - wangzhecheng@yeah.net
//
//   Date: 2020-10-27 19:18
//
//   Last Editors: Wang Zhecheng - wangzhecheng@yeah.net
//
//   Last modified:	2020-11-06 18:27
//
//   Description:
//
//=============================================================================
use crate::component::time_sequence::StepLike;
use crate::Real;

pub struct TimeStep {
    stime: Real,
    etime: Real,
}
step_like_impl!(TimeStep);

#[test]
fn constructor() {
    let mut tstep = TimeStep {
        stime: 0 as Real,
        etime: 0 as Real,
    };
    tstep.set_stime(10 as Real);
    tstep.set_etime(100 as Real);
    println!("{}", tstep);
}
